package com.longxiao.validator.anno;

/**
 * 验证中国手机号
 * Created by houhongwei on 2017/5/12.
 */

import java.lang.annotation.*;

@Documented
@Inherited
@Target({ElementType.FIELD, ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface ValiCnMobile {
    boolean required() default true;// 是否必填
    String name() default "";// 参数名称
    String err();// 错误描述
}
